package com.hdu.metrics_center.utils;

import java.util.stream.IntStream;

public class StringUtils {
    public static boolean isDigit(String str) {
        return IntStream.range(0, str.length()).allMatch(i -> Character.isDigit(str.charAt(i)));
    }
}
